package com.ss.android.account.b;

import android.content.DialogInterface;

import com.ss.android.common.lib.MobClickCombiner;

public final class c implements DialogInterface.OnClickListener {
    private final b a;

    public c(b arg1) {
        this.a = arg1;

    }

    public final void onClick(DialogInterface arg7, int arg8) {
        switch(arg8) {
            case 0: {
                com.ss.android.account.bb.a().a(this.a.a, this.a.c, 10003);
                MobClickCombiner.onEvent(this.a.a, "account_setting_avatar", "upload_avatar");
                break;
            }
            case 1: {
                com.ss.android.account.bb.a().a(this.a.a, this.a.c, 10004, this.a.d.getParent(), this.a.d.getName());
                MobClickCombiner.onEvent(this.a.a, "account_setting_avatar", "take_avatar");
                break;
            }
            default: {
                MobClickCombiner.onEvent(this.a.a, "account_setting_avatar", "cancel");
                break;
            }
        }
    }
}

